package com.garlicts.framework.crawler.scheduler;

import java.io.Serializable;

/**
 * 执行器Bean
 *
 */
public class ExecutorBean implements Serializable {

	private static final long serialVersionUID = 1L;

	// 执行器的名称
	private String executorName;
	// zk地址
	private String discoveryAddress;
	// 具体的job内容
	private String jobContent;

	public ExecutorBean() {
		
	}
	
	public ExecutorBean(String executorName, String discoveryAddress) {
		this.executorName = executorName;
		this.discoveryAddress = discoveryAddress;
	}

	public String getExecutorName() {
		return executorName;
	}

	public void setExecutorName(String executorName) {
		this.executorName = executorName;
	}

	public String getDiscoveryAddress() {
		return discoveryAddress;
	}

	public void setDiscoveryAddress(String discoveryAddress) {
		this.discoveryAddress = discoveryAddress;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getJobContent() {
		return jobContent;
	}

	public void setJobContent(String jobContent) {
		this.jobContent = jobContent;
	}

}
